package com.ruoyi.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自定义分类商品关联对象 product_activity_category_sku_relation
 * 
 * @author ruoyi
 * @date 2025-08-13
 */
public class ProductActivityCategorySkuRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 自定义分类编号 */
    @Excel(name = "自定义分类编号")
    private Long customCategoryId;

    /** sku编号 */
    @Excel(name = "sku编号")
    private Long skuId;
    private ProductSku sku;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustomCategoryId(Long customCategoryId) 
    {
        this.customCategoryId = customCategoryId;
    }

    public Long getCustomCategoryId() 
    {
        return customCategoryId;
    }
    public void setSkuId(Long skuId) 
    {
        this.skuId = skuId;
    }

    public Long getSkuId() 
    {
        return skuId;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customCategoryId", getCustomCategoryId())
            .append("skuId", getSkuId())
            .append("sort", getSort())
            .toString();
    }

    public ProductSku getSku() {
        return sku;
    }

    public void setSku(ProductSku sku) {
        this.sku = sku;
    }
}
